import { Entity } from "../../../../../Core/Module/Entity/Entity";
import { IAwake } from "../../../../../Core/Module/EventSystem/IAwakeSystem";
import { IDestroy } from "../../../../../Core/Module/EventSystem/IDestroySystem";
import { List } from "../../../../../Support/Share/Lib/Collections/List";
import { Stack } from "../../../../../Support/Share/Lib/Collections/Stack";
import { Dictionary } from "../../../../../Support/Share/Lib/Dictionary";
import { PanelId } from "../../Demo/FUIAutoGen/PanelId";
import { FUIEntity } from "./FUIEntity";

export interface IFUILogic {

}

export class IFUILogic {

}

export class FUIComponent extends Entity implements IAwake, IDestroy {

    public VisiblePanelsQueue = new List<PanelId>(10);

    public AllPanelsDic = new Dictionary<number, FUIEntity>();

    public FUIEntitylistCached = new List<PanelId>(10);

    public VisiblePanelsDic = new Dictionary<number, FUIEntity>();

    public HidePanelsStack = new Stack<PanelId>(10);

}